<%@page pageEncoding="UTF-8" isELIgnored="false" session="false"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@taglib prefix="f" uri="http://www.slim3.org/functions"%>
<html>
<head>
<title>レース編集</title>
<%@ include file="../common/incmnt.jsp"%>
<script type="text/JavaScript">
//<![CDATA[
	var nomiURL = "${f:url('nomination')}";
	var rcURL = "${f:url('raceCard')}";
	var rsURL = "${f:url('result')}";
	var riURL = "${f:url('raceInfo')}";
	var proc = "mod";
//]]>
</script>
</head>
<body>
<div id="statusArea"></div>
<div id="statusArea2"></div>
<form action="${f:url('index')}" method="post">
	<input type="submit" value="戻る"/>
</form>
<div id="raceArea">
	<c:forEach var="e" items="${raceList}">
	<div id="raceLine">
		<label>
		<input type="radio" name="raceKey" value="${e.raceDate}"/>
		<c:out value="${e.raceDate}" />
		<c:out value="${e.raceName}" escapeXml="false"/>
		</label>
	</div>
	</c:forEach>
</div>
<input type="button" id="btnNomination" value="特別登録馬取得" />
<input type="button" id="btnRaceCard" value="出走馬取得" />
<input type="button" id="btnResult" value="競争結果取得" />
<input type="button" id="btnRaceDel" value="削除" />
<div id="raceInfoArea"/></div>
<div id="nominationArea">
	<input type="button" id="btnNomiReg" value="特別登録馬登録" />
	<input type="button" id="btnNomiRowAdd" value="１行追加" />
	<input type="button" id="btnNomiRowDel" value="１行削除" />
	<input type="button" id="btnNomiRowAllDel" value="全行削除" />
	<div id="nomiHorseListArea" class="nomiHorseLArea"></div>
</div>
<div id="raceCardArea">
	<input type="button" id="btnRcReg" value="出走馬登録" />
	<input type="button" id="btnRcRowAdd" value="１行追加" />
	<input type="button" id="btnRcRowDel" value="１行削除" />
	<input type="button" id="btnRcRowAllDel" value="全行削除" />
	<div id="rcHorseListArea" class="rcHorseLArea"></div>
</div>
<div id="resultArea">
	<input type="button" id="btnRsReg" value="競争結果登録" />
	<input type="hidden" id="raceDate" name="raceDate" value="" />
	<div id="rsHorseListArea" class="rsHorseLArea"></div>
</div>
</body>
</html>
